<table width="100%" class="location" border="1">
    <thead>
    <tr>
        <th>序号</th>
        <th>东经（单位:
            <nz-select [(ngModel)]="locationSelectedValue" [ngModelOptions]="{standalone: true}"
                       style="width: 86px;">
                <nz-option nzValue="度" nzLabel="度"></nz-option>
                <nz-option nzValue="度分" nzLabel="度分"></nz-option>
                <nz-option nzValue="度分秒" nzLabel="度分秒"></nz-option>
            </nz-select>
            ）
        </th>
        <th>北纬（单位:{{locationSelectedValue}}）</th>
        <th>海拔（单位：米 ）</th>
        <th>
            <button nz-button nzType="dashed" (click)="locationPlus()"><i nz-icon type="plus"
                                                                          theme="outline"></i></button>
        </th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let i of locations;let index = index">
        <td>{{index + 1}}</td>
        <td>
            <kylin-input-group [(ngModel)]="i.eastLongitude" [type]="locationSelectedValue" (valueChange)="inputGroupValueChange($event)"></kylin-input-group>
        </td>
        <td>
            <kylin-input-group [(ngModel)]="i.northLatitude" [type]="locationSelectedValue" (valueChange)="inputGroupValueChange($event)"></kylin-input-group>
        </td>
        <td><input nz-input placeholder="" [(ngModel)]="i.altitude" style="width: 115px" (change)="inputGroupValueChange($event)"></td>
        <th>
            <button nz-button nzType="dashed" (click)="locationMinus(i.num)"><i nz-icon type="minus"
                                                                                theme="outline"></i>
            </button>
        </th>
    </tr>
    </tbody>
</table>
